.PHONY:all 
all:tcpclient tcpserver

Flag=#-DMySelf=1
Lib=-ljsoncpp

tcpclient:ClientCal.cc
	g++ -o $@ $^ -std=c++11  $(Lib) $(Flag)
tcpserver:ServerCal.cc
	g++ -o $@ $^ -std=c++11  $(Lib) $(Flag)

.PHONY:clean 
clean:
	rm -f tcpclient tcpserver